package org.lanqiao.tjut.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户信息实体类
 * 
 * @author Kui
 *
 */
public class UserInfoBean implements Serializable {

	private static final long serialVersionUID = 1L;

	// 用户编号
	private Short userId;

	// 用户姓名
	private String userName;

	// 用户登录账号
	private String userAccount;

	// 用户登录密码
	private String userPsw;

	// 用户支付密码
	private String payPsw;

	// 用户邮箱
	private String userEmail;

	// 用户密保问题
	private String userQuestion;

	// 用户电话
	private String userTele;

	// 用户头像
	private String userImage;

	// 用户身份证号
	private String userIdcard;

	// 用户注册时间
	private Date registerTime;

	// 用于逻辑删除
	private Short isdeleted;

	public Short getUserId() {
		return userId;
	}

	public void setUserId(Short userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName == null ? null : userName.trim();
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount == null ? null : userAccount.trim();
	}

	public String getUserPsw() {
		return userPsw;
	}

	public void setUserPsw(String userPsw) {
		this.userPsw = userPsw == null ? null : userPsw.trim();
	}

	public String getPayPsw() {
		return payPsw;
	}

	public void setPayPsw(String payPsw) {
		this.payPsw = payPsw == null ? null : payPsw.trim();
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail == null ? null : userEmail.trim();
	}

	public String getUserQuestion() {
		return userQuestion;
	}

	public void setUserQuestion(String userQuestion) {
		this.userQuestion = userQuestion == null ? null : userQuestion.trim();
	}

	public String getUserTele() {
		return userTele;
	}

	public void setUserTele(String userTele) {
		this.userTele = userTele == null ? null : userTele.trim();
	}

	public String getUserImage() {
		return userImage;
	}

	public void setUserImage(String userImage) {
		this.userImage = userImage == null ? null : userImage.trim();
	}

	public String getUserIdcard() {
		return userIdcard;
	}

	public void setUserIdcard(String userIdcard) {
		this.userIdcard = userIdcard == null ? null : userIdcard.trim();
	}

	public Date getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	public Short getIsdeleted() {
		return isdeleted;
	}

	public void setIsdeleted(Short isdeleted) {
		this.isdeleted = isdeleted;
	}

	@Override
	public String toString() {
		return "UserInfoBean [userId=" + userId + ", userName=" + userName + ", userAccount=" + userAccount
				+ ", userPsw=" + userPsw + ", payPsw=" + payPsw + ", userEmail=" + userEmail + ", userQuestion="
				+ userQuestion + ", userTele=" + userTele + ", userImage=" + userImage + ", userIdcard=" + userIdcard
				+ ", registerTime=" + registerTime + ", isdeleted=" + isdeleted + "]";
	}
	
}